﻿@model FlyingClub.Models.Contact

@{
    ViewBag.Title = "Nous contacter";
}

<h1>@ViewBag.Title</h1>

<p>Veuillez remplir le formulaire ci-join pour nous contacter<br /></p>
<p>@ViewBag.Confirmation<br /></p>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <p>@Html.LabelFor(model => model.Name, "Nom")@Html.EditorFor(model => model.Name)<label style="width : auto; color : rgb(255, 0, 0);">*</label>@Html.ValidationMessageFor(model => model.Name)</p>
    <p class="break-line"></p>
    <p>@Html.LabelFor(model => model.Email, "Email")@Html.EditorFor(model => model.Email)<label style="width : auto; color : rgb(255, 0, 0);">*</label>@Html.ValidationMessageFor(model => model.Email)</p>
    <p class="break-line"></p>
    <p>@Html.LabelFor(model => model.Subject, "Sujet")@Html.EditorFor(model => model.Subject)<label style="width : auto; color : rgb(255, 0, 0);">*</label>@Html.ValidationMessageFor(model => model.Subject)</p>
    <p class="break-line"></p>
    <p>@Html.LabelFor(model => model.Content, "Contenu")@Html.TextAreaFor(model => model.Content, 10, 50, "")<label style="width : auto; color : rgb(255, 0, 0);">*</label>@Html.ValidationMessageFor(model => model.Content)</p>
    <p class="break-line"></p>
    <p><label></label><input type="submit" /><input type="submit" value="Envoyer" /><label style="width : auto; color : rgb(255, 0, 0);">*Champ requis</label></p>
    <p class="break-line"></p>
}
